package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 服务项目对象 car_service_project
 * 
 * @author ruoyi
 * @date 2025-08-07
 */
public class CarServiceProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目id */
    private Integer id;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String name;

    /** 外键id，关联car_service_type表 */
    @Excel(name = "外键id，关联car_service_type表")
    private Integer stId;

    /** 删除状态，0未删除，1已删除 */
    @Excel(name = "删除状态，0未删除，1已删除")
    private Integer deleted;

    /** 原价 */
    @Excel(name = "原价")
    private Float oldPrice;

    /** 折扣价 */
    @Excel(name = "折扣价")
    private Float newPrice;

    /** 服务介绍 */
    @Excel(name = "服务介绍")
    private String serviceIntroduce;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setStId(Integer stId) 
    {
        this.stId = stId;
    }

    public Integer getStId() 
    {
        return stId;
    }

    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    public void setOldPrice(Float oldPrice) 
    {
        this.oldPrice = oldPrice;
    }

    public Float getOldPrice() 
    {
        return oldPrice;
    }

    public void setNewPrice(Float newPrice) 
    {
        this.newPrice = newPrice;
    }

    public Float getNewPrice() 
    {
        return newPrice;
    }

    public void setServiceIntroduce(String serviceIntroduce) 
    {
        this.serviceIntroduce = serviceIntroduce;
    }

    public String getServiceIntroduce() 
    {
        return serviceIntroduce;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("stId", getStId())
            .append("deleted", getDeleted())
            .append("oldPrice", getOldPrice())
            .append("newPrice", getNewPrice())
            .append("serviceIntroduce", getServiceIntroduce())
            .toString();
    }
}
